type net/http.persistConn
41 uses
net/http (current package)
transport.go#L99: idleConn map[connectMethodKey][]*persistConn // most recently used at end
transport.go#L756: func (pc *persistConn) shouldRetryRequest(req *Request, err error) bool {
transport.go#L982: func (t *Transport) putOrCloseIdleConn(pconn *persistConn) {
transport.go#L1000: func (t *Transport) tryPutIdleConn(pconn *persistConn) error {
transport.go#L1060: t.idleConn = make(map[connectMethodKey][]*persistConn)
transport.go#L1183: func (t *Transport) removeIdleConn(pconn *persistConn) bool {
transport.go#L1190: func (t *Transport) removeIdleConnLocked(pconn *persistConn) bool {
transport.go#L1266: pc *persistConn
transport.go#L1288: func (w *wantConn) tryDeliver(pc *persistConn, err error, idleAt time.Time) bool {
transport.go#L1311: var pc *persistConn
transport.go#L1432: func (t *Transport) getConn(treq *transportRequest, cm connectMethod) (_ *persistConn, err error) {
transport.go#L1629: func (pconn *persistConn) addTLS(ctx context.Context, name string, trace *httptrace.ClientTrace) error {
transport.go#L1684: func (t *Transport) dialConn(ctx context.Context, cm connectMethod) (pconn *persistConn, err error) {
transport.go#L1685: pconn = &persistConn{
transport.go#L1867: return &persistConn{t: t, cacheKey: pconn.cacheKey, alt: alt}, nil
transport.go#L1886: pc *persistConn
transport.go#L1995: type persistConn struct {
transport.go#L2038: func (pc *persistConn) maxHeaderResponseSize() int64 {
transport.go#L2045: func (pc *persistConn) Read(p []byte) (n int, err error) {
transport.go#L2061: func (pc *persistConn) isBroken() bool {
transport.go#L2070: func (pc *persistConn) canceled() error {
transport.go#L2077: func (pc *persistConn) isReused() bool {
transport.go#L2084: func (pc *persistConn) cancelRequest(err error) {
transport.go#L2094: func (pc *persistConn) closeConnIfStillIdle() {
transport.go#L2114: func (pc *persistConn) mapRoundTripError(req *transportRequest, startBytesWritten int64, err error) error {
transport.go#L2169: func (pc *persistConn) readLoop() {
transport.go#L2347: func (pc *persistConn) readLoopPeekFailLocked(peekErr error) {
transport.go#L2384: func (pc *persistConn) readResponse(rc requestAndChan, trace *httptrace.ClientTrace) (resp *Response, err error) {
transport.go#L2455: func (pc *persistConn) waitForContinue(continueCh <-chan struct{}) func() bool {
transport.go#L2516: func (pc *persistConn) writeLoop() {
transport.go#L2564: func (pc *persistConn) wroteRequest() bool {
transport.go#L2669: func (pc *persistConn) roundTrip(req *transportRequest) (resp *Response, err error) {
transport.go#L2819: func (pc *persistConn) markReused() {
transport.go#L2830: func (pc *persistConn) close(err error) {
transport.go#L2836: func (pc *persistConn) closeLocked(err error) {
transport.go#L3020: m map[*persistConn]*list.Element
transport.go#L3024: func (cl *connLRU) add(pc *persistConn) {
transport.go#L3027: cl.m = make(map[*persistConn]*list.Element)
transport.go#L3036: func (cl *connLRU) removeOldest() *persistConn {
transport.go#L3038: pc := ele.Value.(*persistConn)
transport.go#L3045: func (cl *connLRU) remove(pc *persistConn) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |